};
gtk_show_about_dialog (GTK_WINDOW (window),
- "program-name", "GTK+ Code Demos",
- "version", g_strdup_printf ("%s,\nRunning against GTK+ %d.%d.%d",
+ "program-name", "GTK Code Demos",
+ "version", g_strdup_printf ("%s,\nRunning against GTK %d.%d.%d",
PACKAGE_VERSION,
gtk_get_major_version (),
gtk_get_minor_version (),
gtk_get_micro_version ()),
- "copyright", "(C) 1997-2013 The GTK+ Team",
+ "copyright", "(C) 1997-2013 The GTK Team",
"license-type", GTK_LICENSE_LGPL_2_1,
"website", "http://www.gtk.org",
- "comments", "Program to demonstrate GTK+ functions.",
+ "comments", "Program to demonstrate GTK functions.",
"authors", authors,
"documenters", documentors,
"logo-icon-name", "gtk4-demo",
- "title", "About GTK+ Code Demos",
+ "title", "About GTK Code Demos",
NULL);
}
* computers, as long as there is a network connection to the
* computer where the application is running.
*
- * Only some of the windowing systems where GTK+ runs have the
+ * Only some of the windowing systems where GTK runs have the
* concept of multiple displays. (The X Window System is the
* main example.) Other windowing systems can only handle one
* keyboard and mouse, and combine all monitors into
/* Color Chooser
*
* A GtkColorChooser lets the user choose a color. There are several
- * implementations of the GtkColorChooser interface in GTK+. The
+ * implementations of the GtkColorChooser interface in GTK. The
* GtkColorChooserDialog is a prebuilt dialog containing a
* GtkColorChooserWidget.
*/
/* Foreign drawing
*
- * Many applications can't use GTK+ widgets, for a variety of reasons,
+ * Many applications can't use GTK widgets, for a variety of reasons,
* but still want their user interface to appear integrated with the
- * rest of the desktop, and follow GTK+ themes. This demo shows how to
+ * rest of the desktop, and follow GTK themes. This demo shows how to
* use GtkStyleContext and the gtk_render_ APIs to achieve this.
*
* Note that this is a very simple, non-interactive example.
* pauses in the reading process.
*/
load_timeout = g_timeout_add (150, progressive_timeout, picture);
- g_source_set_name_by_id (load_timeout, "[gtk+] progressive_timeout");
+ g_source_set_name_by_id (load_timeout, "[gtk] progressive_timeout");
}
static void
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_add (GTK_CONTAINER (window), vbox);
- label = gtk_label_new ("Messages from Gtk+ and friends");
+ label = gtk_label_new ("Messages from GTK and friends");
gtk_container_add (GTK_CONTAINER (vbox), label);
scrolled = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
{
GtkApplication *app = user_data;
const gchar *authors[] = {
- "The GTK+ Team",
+ "The GTK Team",
NULL
};
gtk_show_about_dialog (GTK_WINDOW (gtk_application_get_active_window (app)),
- "program-name", "GTK+ Demo",
- "version", g_strdup_printf ("%s,\nRunning against GTK+ %d.%d.%d",
+ "program-name", "GTK Demo",
+ "version", g_strdup_printf ("%s,\nRunning against GTK %d.%d.%d",
PACKAGE_VERSION,
gtk_get_major_version (),
gtk_get_minor_version (),
gtk_get_micro_version ()),
- "copyright", "(C) 1997-2013 The GTK+ Team",
+ "copyright", "(C) 1997-2013 The GTK Team",
"license-type", GTK_LICENSE_LGPL_2_1,
"website", "http://www.gtk.org",
- "comments", "Program to demonstrate GTK+ widgets",
+ "comments", "Program to demonstrate GTK widgets",
"authors", authors,
- "logo-icon-name", "gtk3-demo",
- "title", "About GTK+ Demo",
+ "logo-icon-name", "gtk4-demo",
+ "title", "About GTK Demo",
NULL);
}
<style><class name="devel"/></style>
<property name="default-width">800</property>
<property name="default-height">600</property>
- <property name="title">GTK+ Demo</property>
+ <property name="title">GTK Demo</property>
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
<id>org.gtk.Demo.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-2.0+</project_license>
- <name>GTK+ Demo</name>
- <summary>Program to demonstrate GTK+ functions</summary>
+ <name>GTK Demo</name>
+ <summary>Program to demonstrate GTK functions</summary>
<description>
<p>
- GTK+ Demo is a collection of examples that demonstrate the major
- features of the GTK+ toolkit.
+ GTK Demo is a collection of examples that demonstrate the major
+ features of the GTK toolkit.
</p>
</description>
<screenshots>
<translation type="gettext">gtk-4.0</translation>
<update_contact>matthias.clasen_at_gmail.com</update_contact>
<developer_name>Matthias Clasen and others</developer_name>
-</component>
\ No newline at end of file
+</component>
[Desktop Entry]
-Name=GTK+ Demo
-Comment=GTK+ code examples and demonstrations
+Name=GTK Demo
+Comment=GTK code examples and demonstrations
Exec=gtk4-demo
Icon=gtk4-demo
Terminal=false
#include <string.h>
#define HEART "♥"
-const char text[] = "I ♥ GTK+";
+const char text[] = "I ♥ GTK";
static void
fancy_shape_renderer (cairo_t *cr,
GtkWidget *widget;
GtkWidget *header;
const gchar* pages[] = {
- "Welcome to GTK+",
+ "Welcome to GTK",
"GtkStackSidebar Widget",
"Automatic navigation",
"Consistent appearance",
gtk_text_buffer_insert (buffer, &iter,
"This line (and most of the others in this buffer) is word-wrapped, "
"using the proper Unicode algorithm. Word wrap should work in all "
- "scripts and languages that GTK+ supports. Let's make this a long "
+ "scripts and languages that GTK supports. Let's make this a long "
"paragraph to demonstrate: blah blah blah blah blah blah blah blah "
"blah blah blah blah blah blah blah blah blah blah blah\n\n", -1);
/* Theming/Style Classes
*
- * GTK+ uses CSS for theming. Style classes can be associated
+ * GTK uses CSS for theming. Style classes can be associated
* with widgets to inform the theme about intended rendering.
*
* This demo shows some common examples where theming features
- * of GTK+ are used for certain effects: primary toolbars,
+ * of GTK are used for certain effects: primary toolbars,
* inline toolbars and linked buttons.
*/
<id>org.gtk.WidgetFactory.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-2.0+</project_license>
- <name>GTK+ Widget Factory</name>
- <summary>Program to demonstrate GTK+ functions</summary>
+ <name>GTK Widget Factory</name>
+ <summary>Program to demonstrate GTK functions</summary>
<description>
<p>
- GTK+ Widget Factory is a showcase of GTK+ widgets. It was
+ GTK Widget Factory is a showcase of GTK widgets. It was
originally created to help theme authors test their creations
for completeness.
</p>
[Desktop Entry]
Name=Widget Factory
-Comment=A showcase for GTK+ widgets, designed for testing themes.
+Comment=A showcase for GTK widgets, designed for testing themes.
Exec=gtk4-widget-factory
Icon=gtk4-widget-factory
Terminal=false
glib_major_version,
glib_minor_version,
glib_micro_version);
- g_string_append_printf (s, "\tGTK+\t%d.%d.%d\n",
+ g_string_append_printf (s, "\tGTK\t%d.%d.%d\n",
gtk_get_major_version (),
gtk_get_minor_version (),
gtk_get_micro_version ());
g_string_append_printf (s, "\nA link can apppear here: <http://www.gtk.org>");
- version = g_strdup_printf ("%s\nRunning against GTK+ %d.%d.%d",
+ version = g_strdup_printf ("%s\nRunning against GTK %d.%d.%d",
PACKAGE_VERSION,
gtk_get_major_version (),
gtk_get_minor_version (),
gtk_get_micro_version ());
gtk_show_about_dialog (GTK_WINDOW (gtk_application_get_active_window (app)),
- "program-name", "GTK+ Widget Factory",
+ "program-name", "GTK Widget Factory",
"version", version,
- "copyright", "(C) 1997-2013 The GTK+ Team",
+ "copyright", "(C) 1997-2013 The GTK Team",
"license-type", GTK_LICENSE_LGPL_2_1,
"website", "http://www.gtk.org",
- "comments", "Program to demonstrate GTK+ themes and widgets",
+ "comments", "Program to demonstrate GTK themes and widgets",
"authors", authors,
"logo-icon-name", "gtk4-widget-factory",
- "title", "About GTK+ Widget Factory",
+ "title", "About GTK Widget Factory",
"system-information", s->str,
NULL);
</object>
<object class="GtkApplicationWindow" id="window">
<style><class name="devel"/></style>
- <property name="title">GTK+ Widget Factory</property>
+ <property name="title">GTK Widget Factory</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar1">
<property name="show-title-buttons">1</property>